import { createApp } from 'vue'
import App from './App.vue'
import { createPinia } from 'pinia'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import router from './router' // 引入 router

const app = createApp(App)

// 使用 Pinia 和 Element Plus
app.use(createPinia())
app.use(ElementPlus)
app.use(router) // 使用 router

app.mount('#app')
